//
//  FTQBaseViewController.m
//  xiangmu
//
//  Created by apple on 2019/8/15.
//  Copyright © 2019 rzt. All rights reserved.
//

#import "FTQBaseViewController.h"
#import "HHYHeader.h"

@interface FTQBaseViewController ()

@end

@implementation FTQBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationController.navigationBar setTintColor:[UIColor whiteColor]]; UIBarButtonItem *backbutton = [[UIBarButtonItem alloc]init]; backbutton.title = @""; self.navigationItem.backBarButtonItem =backbutton; self.navigationController.navigationBar.barTintColor = rgba(255, 64, 0, 1);
    //去掉透明后导航栏下边的黑边
    [self.navigationController.navigationBar setShadowImage:[[UIImage alloc] init]];
    UIColor * color =[UIColor whiteColor]; NSDictionary * dict=[NSDictionary dictionaryWithObject:color forKey:NSForegroundColorAttributeName]; self.navigationController.navigationBar.titleTextAttributes =dict;
}

- (NSString *)nowTimeSwitchTimestamp{
    NSDate *datenow = [NSDate date];//现在时间
    NSString *timeSp = [NSString stringWithFormat:@"%ld", (long)([datenow timeIntervalSince1970]*1000)];
    
    return timeSp;
}

- (NSInteger)number {
    NSNumber *sid;
    return [kUserDefaultObjectForKey(@"number") integerValue];
    sid=kUserDefaultObjectForKey(@"number");
}

@end
